home *** CD-ROM | disk | FTP | other *** search
/ Motor Sport Digital Archive Collection 1960s / Motor Sport Digital Archive Collection 1960s.iso / main.swf / scripts / events / ScreenEvent.as < prev    next >
Encoding:
Text File  |  2008-05-21  |  613 b   |  28 lines

  1. package events
  2. {
  3.    import flash.events.Event;
  4.    
  5.    public class ScreenEvent extends Event
  6.    {
  7.       public static const MINIMISE:String = "minimise";
  8.       
  9.       public static const MAXIMISE:String = "maximise";
  10.       
  11.       public static const QUIT:String = "quit";
  12.       
  13.       public var eventData:Object;
  14.       
  15.       public function ScreenEvent(param1:String, param2:Object)
  16.       {
  17.          super(param1);
  18.          this.eventData = param2;
  19.       }
  20.       
  21.       override public function clone() : Event
  22.       {
  23.          return new ScreenEvent(type,eventData);
  24.       }
  25.    }
  26. }
  27.  
  28.